package com.myapplication.ui.homefragment.activities;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

import com.myapplication.R;
import com.myapplication.ui.myactivity.LoginActivity;
import com.myapplication.ui.myactivity.RegisterActivity;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by zitaojiang on 2016/10/17.
 */
public class Activity_Mine extends AppCompatActivity {
    @Bind(R.id.tv)
    TextView tv;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_mine);
        ButterKnife.bind(this);
        tv.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(Activity_Mine.this, LoginActivity.class);
                startActivity(intent);
            }
        });

    }
}
